package com.wisdomparking.control.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

import com.wisdomparking.control.BaseController;
import com.wisdomparking.service.ManagerService;


/**
 * 后台管理
 */
@RestController
@RequestMapping("/web")
public class WebController extends BaseController{
	
	@Autowired ManagerService managerService;
	
	/**
	 * 后台首页
	 * 
	 * @param id
	 * @return
	 */
	@RequestMapping("/index")
	public ModelAndView index(){
		
		return new ModelAndView("web/index");
	}
	
	@RequestMapping("/top")
	public ModelAndView top(){
		
		return new ModelAndView("web/top");
	}
	
	@RequestMapping("/left")
	public ModelAndView left(){
		
		return new ModelAndView("web/left");
	}
	
	@RequestMapping("/right")
	public ModelAndView right(){
		
		return new ModelAndView("web/right");
	}
	
}
